-
Notifications
You must be signed in to change notification settings - Fork 97
Accept/decline T-compiler backports from Zulip #2155
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Accept/decline T-compiler backports from Zulip #2155
Conversation
a42cf9d to
b265ac9
Compare
b265ac9 to
80d4110
Compare
|
I guess this patch went under the radar because I didn't request a review r? triagebot |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sounds pretty useful!
05aa91f to
6d99fff
Compare
f32c8db to
f373c3c
Compare
52295ac to
93156bd
Compare
|
r? @Kobzol I think it's ready for another round of review (when you have time) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! Left some nits, but otherwise I think that it's fine.
943b9d1 to
62d8f88
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please just get rid of the merge commit by rebasing, otherwise LGTM :)
24e3df8 to
4c3dd4e
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I wonder if triagebot reads triagebot commands from its own comments 🤔 I guess we'll see :)
Do you mean if on Zulip calling |
This patch adds a new Zulip command: `@triagebot backport <channel> <action> <PR>` Example: - `@triagebot backport stable accept 123456` - `@triagebot backport beta decline 654321` This can be used to post on GitHub a comment when T-compiler accepts/decline to backport a patch that fixes a regression. Limitations: - This command is only available in the `rust-lang/rust` repository - There is no check on the PR number (in case of mistypes, the comment will go elsewhere)
4c3dd4e to
9ce791d
Compare
|
No, on GitHub. Right now the backport command sends a GitHub comment from triagebot with |
|
ah ok! Yes it will trigger a reaction applying the labels (for GH after all it's a normal comment from a GH user). Thanks for the review! |
This patch adds a new Zulip command:
@triagebot backport <channel> <action> <PR>Example:
@triagebot backport stable accept 123456@triagebot backport beta decline 654321This can be used to post on GitHub a comment like this one when T-compiler accepts/decline to backport a patch that fixes a regression.
Limitations:
rust-lang/rust, I am not aware of other git repos having this workflow. If we want, maybe in the future we can extend to other repos using our custom Zulip linkfiersTested on a custom Zulip instance.
TODO:
backport acceptor evenaccept) to be used from#t-compiler/backports(topics contain all necessary info to build the command parameters)